package utils.component;

import java.io.IOException;

/**
 * @Skyler
 * Date: 14.06.13
 * Time: 12:11
 */
public class FilePropertyReader extends FileReaderAbstract {

    private static FilePropertyReader instance;

    public FilePropertyReader() {
        super();
    }

    public Property getProperties() {
        Property property = null;
        try {
            property = super.readFile();
        } catch (IOException e) {
            //TODO Load Default Properties
        }
        return property;
    }

    public Object getProperty(TypeProperty type) {
        return null;
    }

    public static FilePropertyReader getInstance() {
        return instance == null ? instance = new FilePropertyReader() : instance;
    }

}
